package com.wl.service;

import com.wl.entity.Delivery_07;
import com.wl.entity.Loginfo;
import com.wl.util.PageData;

/**
 * Delivery_07业务层接口
 * @author HCH
 *
 */
public interface Delivery_07Service {

	/**
	 * 动态sql语句添加业务信息
	 * @param record
	 * @return
	 */
	public boolean insertSelective(Delivery_07 record);
	
	/**
	 * 根据当前处理人编号查找尚未处理的业务并分页
	 * @param page
	 * @param limit
	 * @param deliveryno
	 * @return
	 */
	public PageData<Delivery_07> selectDeliveryByDeliveryno(int page, int limit, String deliveryno);

	/**
	 * 根据flowid动态修改
	 * @param record
	 * @return
	 */
	public boolean updateByPrimaryKeySelective(Delivery_07 record,Loginfo log);

	/**
	 * 查询已审批的数量，页面显示用
	 * @return
	 */
	public int getCountByDelivery(); 
}
